package com.culture.bootdemo.designPattern设计模式.strategy策略模式;

/**
 * @author wen
 * @date 2019/11/27 14:11
 * @Description
 **/
public enum MsgType {

    //
    TEXT(1, "文本"),
    IMAGE(2, "图片"),
    VIDEO(3, "视频");

    public final int code;
    public final String name;

    MsgType(int code, String name) {
        this.code = code;
        this.name = name;
    }
}